﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CosmosKernel4.Global
{
    static class ArrayReverser
    {
        public static Byte[] ReverseArray(Byte[] a)
        {
            Byte[] ar = new byte[a.Length];
            for (int i = a.Length - 1; i >= 0; i--)
            {
                ar[i] = a[(a.Length - 1) - i];
            }

           
            return ar;

        }
    }
}
